package fr.upmc.aladyn.manualreflect;

/**
 * Main method that applies saving and restoration of transactions manually.
 * 
 * @author Thierry Wong
 * @author Seyyid ahmed Ouir 
 */
public class ManualReflectMain 
{
	public static void main(String[] args) throws NoSuchMethodException, 
		SecurityException, Exception 
	{
		MyApp p = null;
		
		System.out.println("Version dans l'esprit transaction :\n") ;
		
		p = new MyApp();
		
		System.out.println("** Etat à l'initialisation **");
		System.out.println(p.toString());
		
		p.m1_transactionnee();
		
		System.out.println("** Etat après restauration **");
		System.out.println(p.toString());
	}
}
